package com.loginCheckMVC.service.impl;

import com.loginCheckMVC.dao.UserDao;
import com.loginCheckMVC.dao.impl.UserDaoImpl;
import com.loginCheckMVC.pojo.User;
import com.loginCheckMVC.service.UserService;

public class UserServiceImpl implements UserService {

   UserDao u = new UserDaoImpl();

   @Override
   public User findUser(String username, String password) {
      User allUser = u.findAllUser(username, password);
      return allUser;
   }
}
